package com.lovo.exception;

/**
 * 自定义异常
 */
public class LovoException extends Exception{
    private String message;
    private int status;
    public LovoException(String message){
        this.message = "朗沃：" + message;
    }

    public void setStatus(int status){
        this.status = status;
    }
    @Override
    public String getMessage() {
        return message + " 状态码：" + this.status;
    }
}
